﻿<br />

@switch (ViewData["AccessLevel"].ToString())
{
    case "1":       //APPLICANT - SHOULD NOT HAVE ACCESS
        <p>
        You are not authorized to view this page. Please log-out and try again.
        </p>
        break;
    case "2":       //SITE ADMINISTRATOR - FULL ACCESS
        <div class="EmployeeNavBar">
        @Html.ActionLink("Home", "Index") |
        @Html.ActionLink("Current Applications", "Applications") |
        @Html.ActionLink("Jobs", "Jobs") |
        @Html.ActionLink("Job Postings", "JobPostings") |
        @Html.ActionLink("Users", "Users") |
        @Html.ActionLink("Locations", "Locations") |
        @Html.ActionLink("Application Questions", "Questions")
        </div>
        break;
    case "3":       //HIRING MANAGER
        <div class="EmployeeNavBar">
        @Html.ActionLink("Home", "Index") |
        @Html.ActionLink("Current Applications", "Applications") |
        @Html.ActionLink("Job Postings", "JobPostings") |
        </div>
        break;
    case "4":       //STORE MANAGER
        <div class="EmployeeNavBar">
        @Html.ActionLink("Home", "Index") |
        @Html.ActionLink("Current Applications", "Applications") |
        @Html.ActionLink("Job Postings", "JobPostings") |
        </div>
        break;
    case "5":       //HIRING SPECIALIST
        <div class="EmployeeNavBar">
        @Html.ActionLink("Home", "Index") |
        @Html.ActionLink("Current Applications", "Applications")
        </div>
        break;
    case "6":       //STAFFING EXPERT
        <div class="EmployeeNavBar">
        @Html.ActionLink("Home", "Index") |
        @Html.ActionLink("Jobs", "Jobs") |
        @Html.ActionLink("Application Questions", "Questions")
        </div>
        break;
    default:        //UNKNOWN ERROR
        <p>
        Sorry, an unknown error occurred. Please log-out and try again.
        </p>
        break;
}    